package com.cdu.commons;

import lombok.Getter;

@Getter
public enum ServiceCode {
    OK(2000),//操作成功
    LOGIN(4001),//登陆失败
    RESGISTRE_ERROR(4002),//注册失败
    PATH_NOT_FOUND(4003),

    UN_KNOW_ERROR(9999),
    REQUEST_ERROR(4005),
    DATA_CHECK_ERROR(4006),
    INSERT_ERROR(4007),
    ERROR_TOKEN(4008),
    UPLOAD_REEOR(4009),//上传错误
    DATA_INSERT_ERROR(40010),
    //数据库插入异常
    DATA_UPDATE_ERROR(40011),//数据库插入异常
    //Shu
    NO_LOGIN_CODE(40012);
    private int code;
    private ServiceCode(int code){
        this.code=code;
    }
}
